package com.zhanghe.im.handler;

import com.zhanghe.im.response.ListGroupMemberResponsePacket;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

public class SimpleListGroupResponseHandler extends SimpleChannelInboundHandler<ListGroupMemberResponsePacket> {

    @Override
    protected void channelRead0(ChannelHandlerContext ctx, ListGroupMemberResponsePacket msg) throws Exception {
        System.out.println("群[" + msg.getGroupId() + "]中的人包括：" + msg.getUsers());
    }
}
